import Vue from 'vue'
import Vuex from 'vuex'

//引入模块
import login from './modules/login'
import homepage from './modules/homepage'
import goods from './modules/goods'
import categor from './modules/categor'
import brand from './modules/brand'
import attribute from './modules/attribute'
import order  from './modules/order'
import topic  from './modules/topic'
// import brand from './modules/brand'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
  },
  mutations: {
  },
  actions: {
  },
  modules: {
    login,
    homepage,
    goods,
    categor,
    brand,
    attribute,
    order,
    topic
  }
})
